﻿using System.ComponentModel.DataAnnotations;
using Devonline.Identity;
using Microsoft.EntityFrameworkCore;

namespace ProjectManagement.Models;

[Display(Name = "数据库上下文")]
public class ApplicationDbContext : BaseDbContext
{
    public ApplicationDbContext(DbContextOptions<BaseDbContext> options) : base(options) { }

    #region business Models
    public virtual DbSet<User> Users { get; set; }
    public virtual DbSet<Item> Items { get; set; }
    public virtual DbSet<Issue> Issues { get; set; }
    public virtual DbSet<ItemAdditional> ItemAdditionals { get; set; }
    public virtual DbSet<IssueAdditional> IssueAdditionals { get; set; }
    #endregion
}